package com.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.entity.StudentInfo;

public interface StudentMapper {
	public List<StudentInfo> stuList();

	public void addStu(StudentInfo stu);
	public StudentInfo login(@Param("stuName")String stuName, @Param("password")String password);

	public StudentInfo getStuByid(Integer stuId);

	public void delStu(Integer stuId);

	public void updateStu(StudentInfo stu);
}
